package com.hotel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author animal
 * @since 2022-02-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HoHouse对象", description="")
public class HoHouse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "酒店房间号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "酒店状态 0 未住 1 已预定 2 已住")
    private Integer status;

    @ApiModelProperty(value = "住户/预定旅客id")
    private Integer lkId;

    @ApiModelProperty(value = "房间种类")
    private Integer type;

    @TableField(exist = false)
    private HoPass hoPass;

    @TableField(exist = false)
    private HouseType houseType;


}
